package org.example.shop.pojo;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.List;

@Data
@Accessors(chain = true)
@Entity
@Table(name = "goods")
public class Goods {
    @Id
    private Long id;
    private String name;
    private Long stock;
    private Long price;
    private String picture;
    private String description;
    private String content;
    private int isNew;
    private int isRecommend;
    private String recommendPicture;
    private String pictures;
}
